package xfsale.service.impl.j2ee;

import xfsale.packet.SysMenuRequest;
import xfsale.packet.SysMenuResponse;

public final class SysMenu extends BaseService {

	private SysMenuRequest request;
	private SysMenuResponse response;

	public SysMenu(SysMenuRequest request, SysMenuResponse response) {
		super(request, response);

		this.request = request;
		this.response = response;

		response.returnCode = "0000";
		response.returnMsg = "获取系统菜单成功";
	}

	//功能处理
    @Override
	protected void process() throws Exception {
		//初始化系统菜单
		sys.initMenu();
		response.menuItems = sys.getMenuItems();
	}

}